<template>
  <div id="navbar">
    <div class="left">
      <slot name="left"></slot>
    </div>

    <div class="center">
      <slot name="center"></slot>
    </div>

    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
  #navbar{ 
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;

    .left{
      
      width: 60px;
      height: 60px;
      display: inline-block;
     font-size: 40px;
     text-align: center;
     line-height: 60px;
    }
    .center{

      height: 40px;
      width: 250px;
      
    }
    .right{
      margin-left: 7px;
    }
  }
</style>